<?php
namespace Sys\Controller;
use Todo\Controller\BackendController;

/**
 * Class IdentityController 用户身份
 * @package Sys\Controller
 */
class IdentityController extends BackendController {

    protected function _filter(&$where){
        if($where['code']) $where['code'] = array('like', '%'. $where['code'].'%');
        if($where['title']) $where['title'] = array('like', '%'. $where['title'].'%');
    }
}